import 'package:flutter/cupertino.dart';
import '../../util/http.dart';

class HeatTreatmentApi{

  BuildContext? context;

  static HeatTreatmentApi of(BuildContext? context){
    HeatTreatmentApi materialRequest = HeatTreatmentApi();
    materialRequest.context = context;
    return materialRequest;
  }

  /// 开始配送
  Future<dynamic> createDelivery(data) async{
    return await ApiService.of(context).post('lgs/heat/treatment/create/', data);
  }

}